package com.artxis.generalConfig.model
{
	
	import com.adobe.cairngorm.model.IModelLocator;
	import mx.collections.ArrayCollection;
		
	
	[Bindable]
	public class ModelLocator implements IModelLocator 
	{
	
		private static var instance:ModelLocator;

		// DECLARE PROPERTIES HERE
		
		
		public static function getInstance():ModelLocator
		{
			if(instance==null)	instance = new ModelLocator();
			return instance;
		}

		public function ModelLocator()
		{
			
			if(instance!=null) throw new Error("Error: Singletons can only be instantiated via getInstance() method!");
			ModelLocator.instance = this;
		}
		
	}
}